CREATE TABLE [dbo].[Region]
(
[RegionId] [int] NOT NULL,
[CountryId] [int] NOT NULL,
[Name] [nvarchar] (128) COLLATE Cyrillic_General_CI_AS NOT NULL,
[IsVisible] [bit] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Region] ADD CONSTRAINT [PK_Region] PRIMARY KEY CLUSTERED  ([RegionId]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Region] ADD CONSTRAINT [FK_Region_Country] FOREIGN KEY ([CountryId]) REFERENCES [dbo].[Country] ([CountryId])
GO
